#ifndef FILTROVENTANANUEVO_H
#define FILTROVENTANANUEVO_H

#endif // FILTROVENTANANUEVO_H
#include <QtGui>
#include "ui_filtroVentanaNuevo.h"
#include <iostream>
using namespace std;

class FiltroVentanaNuevo : public QDialog
{
	Q_OBJECT

public:
	FiltroVentanaNuevo(QWidget *parent = 0);
	~FiltroVentanaNuevo();

	int isSeparable(){return separable;}
	void actualizar(QStandardItemModel & m1, QStandardItemModel& m2);
	int getRow(){return row;}
	int getCol(){return col;}
	double getFactorF(){return factorf;}
	double getFactorC(){return factorc;}

private:
	Ui::FiltroVentanaNuevoClass ui;

	bool separable;
	int row;
	int col;
	double factorf;
	double factorc;

	int tabIndex(){return ui.tabWidget->currentIndex();}
	void vacio(QStandardItemModel& model1, QStandardItemModel& model2);
	void media(QStandardItemModel& model1, QStandardItemModel& model2);
	void gaussiano(QStandardItemModel& model1, QStandardItemModel& model2);
};
